//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['A Tribute to Robin Williams','Grog Shop','Cleveland, OH','Tuesday','5/21/2024','7:30 PM','6382117','A-Tribute-to-Robin-Williams-5-21-2024'],['Laura Jane Grace','Grog Shop','Cleveland, OH','Saturday','5/25/2024','8:00 PM','6257924','Laura-Jane-Grace-5-25-2024'],['Who Saved Who','Grog Shop','Cleveland, OH','Sunday','5/26/2024','8:00 PM','6429857','Who-Saved-Who-5-26-2024'],['Make Em Laugh Monday','Grog Shop','Cleveland, OH','Monday','5/27/2024','8:00 PM','6350957','Make-Em-Laugh-Monday-5-27-2024'],['1349','Grog Shop','Cleveland, OH','Tuesday','5/28/2024','8:00 PM','6350945','1349-5-28-2024'],['Noise Ctrl','Grog Shop','Cleveland, OH','Wednesday','5/29/2024','8:00 PM','6429853','Noise-Ctrl-5-29-2024'],['10 Years','Grog Shop','Cleveland, OH','Friday','5/31/2024','8:30 PM','6350944','10-Years-5-31-2024'],['Melt-Banana','Grog Shop','Cleveland, OH','Sunday','6/2/2024','7:30 PM','6262222','Melt-Banana-6-2-2024'],['Liturgy & Body Void','Grog Shop','Cleveland, OH','Tuesday','6/4/2024','8:00 PM','6429843','Liturgy---Body-Void-6-4-2024'],['FEA','Grog Shop','Cleveland, OH','Thursday','6/6/2024','8:00 PM','6350949','FEA-6-6-2024'],['GlamGore','Grog Shop','Cleveland, OH','Friday','6/7/2024','9:00 PM','6135138','GlamGore-6-7-2024'],['Post Saga','Grog Shop','Cleveland, OH','Saturday','6/8/2024','9:00 PM','6350961','Post-Saga-6-8-2024'],['Two Mile Moon','Grog Shop','Cleveland, OH','Tuesday','6/11/2024','8:00 PM','6429844','Two-Mile-Moon-6-11-2024'],['Spiritual Cramp','Grog Shop','Cleveland, OH','Wednesday','6/12/2024','8:00 PM','6429847','Spiritual-Cramp-6-12-2024'],['Horsegirl','Grog Shop','Cleveland, OH','Sunday','6/16/2024','8:00 PM','6283786','Horsegirl-6-16-2024'],['Bodybox','Grog Shop','Cleveland, OH','Monday','6/17/2024','8:00 PM','6429859','Bodybox-6-17-2024'],['Melissa Ferrick','Grog Shop','Cleveland, OH','Wednesday','6/26/2024','8:00 PM','6283964','Melissa-Ferrick-6-26-2024'],['RXKNephew','Grog Shop','Cleveland, OH','Thursday','6/27/2024','8:00 PM','6425265','RXKNephew-6-27-2024'],['Letters to Cleo','Grog Shop','Cleveland, OH','Saturday','6/29/2024','8:00 PM','6429850','Letters-to-Cleo-6-29-2024'],['Eidola','Grog Shop','Cleveland, OH','Wednesday','7/3/2024','7:30 PM','6340759','Eidola-7-3-2024'],['The Spits','Grog Shop','Cleveland, OH','Saturday','7/6/2024','9:00 PM','6299947','The-Spits-7-6-2024'],['MC Chris','Grog Shop','Cleveland, OH','Tuesday','7/9/2024','8:00 PM','6350951','MC-Chris-7-9-2024'],['Guided by Voices','Grog Shop','Cleveland, OH','Saturday','7/20/2024','9:00 PM','6384757','Guided-by-Voices-7-20-2024'],['The Felice Brothers','Grog Shop','Cleveland, OH','Thursday','7/25/2024','8:00 PM','6429852','The-Felice-Brothers-7-25-2024'],['Blind Pilot','Grog Shop','Cleveland, OH','Friday','7/26/2024','8:00 PM','6444172','Blind-Pilot-7-26-2024'],['King Buzzo & Trevor Dunn','Grog Shop','Cleveland, OH','Wednesday','8/28/2024','8:00 PM','6227388','King-Buzzo---Trevor-Dunn-8-28-2024'],['The Suicide Machines','Grog Shop','Cleveland, OH','Sunday','9/8/2024','7:30 PM','6403534','The-Suicide-Machines-9-8-2024'],['Yard Act','Grog Shop','Cleveland, OH','Saturday','10/5/2024','8:30 PM','6266942','Yard-Act-10-5-2024'],['Nilufer Yanya','Grog Shop','Cleveland, OH','Sunday','10/6/2024','8:00 PM','6441327','Nilufer-Yanya-10-6-2024'],['Acid Mothers Temple','Grog Shop','Cleveland, OH','Wednesday','10/16/2024','8:00 PM','6450400','Acid-Mothers-Temple-10-16-2024'],['Evan Honer','Grog Shop','Cleveland, OH','Friday','10/18/2024','8:30 PM','6371037','Evan-Honer-10-18-2024'],['Hinds','Grog Shop','Cleveland, OH','Tuesday','10/22/2024','8:00 PM','6429604','Hinds-10-22-2024'],['Devin the Dude','Grog Shop','Cleveland, OH','Friday','8/22/2070','9:00 PM','4453095','Devin-the-Dude-8-22-2070']],'Grog Shop','http://www.ticketnetwork.com/ticket/Grog-Shop-events.aspx');